import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const DASHBOARD: AppRouteRecordRaw = {
  path: '/mad',
  name: 'Mad',
  component: DEFAULT_LAYOUT,
  meta: {
    requiresAuth: true,
    icon: 'icon-dashboard',
    order: 3,
    locale: 'menu.mad',
  },
  children: [
    {
      path: 'list',
      name: 'MadList',
      component: () => import('@mc/views/list/list.vue'),
      meta: {
        requiresAuth: true,
        roles: ['*'],
        locale: 'menu.mad.list',
      },
    },
  ],
};

export default DASHBOARD;
